package com.ncr.travel.tas.configuration.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;


@Entity
@Table(name="configuration_value_type")
public class ConfigurationValueType implements Serializable, ConfigurationModelObject {


	/**
	 *
	 */
	private static final long serialVersionUID = 3L;


	private long id;

	private String name;


	public ConfigurationValueType(){

	}

	public void setId(long id) {
		this.id = id;
	}

	@Id
	@Column(name="value_type_id")
	public long getId() {
		return id;
	}


	//private Set<ConfigurationValue> configurationValues;

	public void setName(String description) {
		this.name = description;
	}

	public String getName() {
		return name;
	}

//	@OneToMany
//	@JoinColumn(name="value_type_id")
//	public Set<ConfigurationValue> getConfigurationValues() {
//		return configurationValues;
//	}
//
//	public void setConfigurationValues(Set<ConfigurationValue> configurationValues) {
//		this.configurationValues = configurationValues;
//	}


}
